<form class="layui-form search-form">

     <div class="layui-input-inline">
         <input type="text" name="keywords" required  placeholder="任务名称/接单人昵称" autocomplete="off" class="layui-input">
    </div>
    <div class="layui-input-inline">
         <input type="text" name="date" required  placeholder="请选择接单日期" autocomplete="off" class="layui-input" id="test1">
    </div>
    <div class="layui-input-inline">
        <select name="status">
            <option value="">订单状态</option>
            <option value="1">待提交</option>
            <option value="2">待审核</option>
            <option value="3">审核通过</option>
            <option value="4">审核驳回</option>
            <option value="5">已取消</option>
        </select>
    </div>
    
    <button class="layui-btn layui-btn-sm" lay-filter="searchform" lay-submit="">
        <i class="fa fa-search">
        </i>
        查询
    </button>
</form>
<table class="layui-table data-table" lay-filter="data_table">
</table>
<script id="toolbar_normal" type="text/html">
   
    <a class="layui-btn layui-btn-xs" lay-event="edit">
        {{#  if(d.type == 1 && d.status == 2){ }}
       去审核
         {{#  } else { }}
         查看
       {{#  } }}
    </a>
    
   
</script>
<script>
    layui.use('laydate', function(){
      var laydate = layui.laydate;
      
      //执行一个laydate实例
      laydate.render({
        elem: '#test1' //指定元素
      });
    });
</script>
{load href="__module__/task/order/index.js" /}
